Sum is a fascinating metric. I think this is a locally optimal solution, but you can almost certainly do better with a better layout.